package com.chii.color.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MQConfig {
    public static final String EXCHANGE = "my-mq-exchange";
    public static final String QUEUE = "color";

    @Bean
    public Queue kinsonQueue() {
        return new Queue(QUEUE);
    }
}
